package com.ych.spring.service;

/**
 * @author yangchenghao
 */
public interface BookService {
    /**
     * 根据id购买书籍
     *
     * @param id 书籍id
     */
    void buyBookById(Integer bookId, Integer userId);
}
